<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:http="http://www.w3.org/1999/xhtml"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!-- 网站主题 -->
    <meta name="subject" content="Seaguller的博客网站">
    <!-- 页面关键词 -->
    <meta name="keywords" content="web, 后端, spring boot, spring, java, 博客, 学习, 程序员, 编程, 文章">
    <!-- 页面描述内容 -->
    <meta name="description" content="Seaguller的博客文章~">
    <!-- 移动端优化 -->
    <meta name ="viewport" content ="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
    <title>Seaguller的小窝~</title>
    <link rel="stylesheet" type="text/css" href="../static/markdown/css/editormd.css">
    <link rel="icon" href="https://seaguller.oss-cn-beijing.aliyuncs.com/static/myIcon.ico" type="image/x-icon"/>


    <link href="https://cdn.bootcss.com/amazeui/2.7.2/css/amazeui.min.css" rel="stylesheet">
    <link href="../static/css/main.css" rel="stylesheet" />
    <link rel="stylesheet" href="https://dreamsky.github.io/main/blog/common/init.css">
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="../static/css/live2d.css" />
    <link href="../static/css/article.css" rel="stylesheet"/>

    <link href="https://cdn.bootcss.com/social-share.js/1.0.16/css/share.min.css" rel="stylesheet">
    <link href="../static/css/articleShow.css" rel="stylesheet"/>
</head>
<body>
<input id="articleId" type="hidden" th:value="${articleId}" />
<div id="main-class-text">
    <!-- 主页大图 -->
    <div id="table-picture" style="background-image: url('https://seaguller.oss-cn-beijing.aliyuncs.com/static/bk-1.jpg')"></div>
    <!-- 标题栏 -->
    <div class="head-one">
        <header class="am-topbar am-topbar-inverse am-topbar-fixed-top">
            <div class="am-container">
                <div class="am-collapse am-topbar-collapse" id="doc-topbar-collapse-4">
                    <ul class="am-nav am-nav-pills am-topbar-nav">
                        <a id="header-text" href="/">Seaguller的小窝~</a>
                        <li id="li-main">
                            <a href="/" class="header-a-main" id="header-a-main-one">
                                <span class="am-icon-home">&nbsp;首&nbsp;&nbsp;页</span>
                            </a>
                        </li>
                        <li id="li-archive"><a href="/archive" class="header-a-main" id="header-a-main-archive"><span class="am-icon-archive">&nbsp;归&nbsp;&nbsp;档</span></a></li>
                        <li id="li-update"><a href="/update" class="header-a-main" id="header-a-main-update"><span class="am-icon-calendar-plus-o">&nbsp;更&nbsp;&nbsp;新</span></a></li>
                        <li id="li-music"><a href="/music" class="header-a-main" id="header-a-main-music"><span class="am-icon-music">&nbsp;音乐馆</span></a></li>
                        <li id="li-message"><a href="/messageBoard" class="header-a-main" id="header-a-main-message"><span class="am-icon-pencil">&nbsp;留言板</span></a></li>
                        <li id="li-friends"><a href="/friends" class="header-a-main" id="header-a-main-friends"><span class="am-icon-mars">&nbsp;友&nbsp;&nbsp;链</span></a></li>
                        <li id="li-aboutMe"><a href="/aboutMe" class="header-a-main" id="header-a-main-aboutMe"><span class="am-icon-paper-plane-o">&nbsp;关于俺</span></a></li>
                    </ul>
                    <div class="am-btn-group login-button-head"  th:unless="${#httpServletRequest.remoteUser}">
                        <div class="am-dropdown" data-am-dropdown>
                            <button class="am-btn am-dropdown-toggle login-button" data-am-dropdown-toggle> <span class="am-icon-user login-icon"></span></button>
                            <ul class="am-dropdown-content login-content">
                                <li><a href="/login" class="login-content-a"><span class="am-icon-leaf">&nbsp;&nbsp;&nbsp;登录</span></a></li>
                                <li><a href="/register" class="login-content-a"><span class="am-icon-user-plus">&nbsp;&nbsp;&nbsp;注册</span></a></li>
                                <li><a class="login-content-a doc-prompt-toggle"><span class="am-icon-bug">&nbsp;&nbsp;&nbsp;反馈</span></a></li>
                            </ul>
                        </div>
                    </div>

                    <div class="am-btn-group login-button-head"  th:if="${#httpServletRequest.remoteUser}">
                        <div class="am-dropdown" data-am-dropdown id="login-sign-drop">
                            <button class="am-btn am-btn-secondary am-topbar-btn am-btn-sm am-dropdown-toggle" data-am-dropdown-toggle id="login-sign-name">
                                <span id="login-user-name"></span>
                                <span class="am-icon-caret-down"></span>
                            </button>
                            <ul class="am-dropdown-content login-content login-content-b" id="login-content-ul">
                                <li><a href="/user" class="login-content-a"><span class="am-icon-leaf">&nbsp;&nbsp;&nbsp;个人中心</span></a></li>
                                <li sec:authorize="hasAnyRole('ROLE_ADMIN')"><a href="/admin" class="login-content-a"><span class="am-icon-cog">&nbsp;&nbsp;&nbsp;管理中心</span></a></li>
                                <li><a class="login-content-a doc-prompt-toggle"><span class="am-icon-bug">&nbsp;&nbsp;&nbsp;反&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;馈</span></a></li>
                                <hr id="log-hr" style="width: 100% !important; margin-left: 0 !important;"/>
                                <li><a href="/logout" class="login-content-a"><span class="am-icon-sign-out">&nbsp;&nbsp;&nbsp;退出登录</span></a></li>
                            </ul>
                        </div>
                        <button class="am-btn" id="login-button-circle" sec:authorize="hasAnyRole('ROLE_ADMIN')"><span id="login-button-write">写</span></button>
                    </div>
                </div>
            </div>

            <!-- 手机端适配小标题 -->
            <div class="am-container-two" style="display: none">
                <div class="am-btn-group login-button-head login-button-head-phone"  th:unless="${#httpServletRequest.remoteUser}">
                    <div class="am-dropdown" data-am-dropdown>
                        <button class="am-btn am-dropdown-toggle login-button" data-am-dropdown-toggle> <span class="am-icon-user login-icon"></span></button>
                        <ul class="am-dropdown-content login-content">
                            <li><a href="/login" class="login-content-a"><span class="am-icon-leaf">&nbsp;&nbsp;&nbsp;登录</span></a></li>
                            <li><a href="/register" class="login-content-a"><span class="am-icon-user-plus">&nbsp;&nbsp;&nbsp;注册</span></a></li>
                            <li><a class="login-content-a doc-prompt-toggle"><span class="am-icon-bug">&nbsp;&nbsp;&nbsp;反馈</span></a></li>
                        </ul>
                    </div>
                </div>
                <div class="am-btn-group login-button-head"  th:if="${#httpServletRequest.remoteUser}">
                    <div class="am-dropdown" data-am-dropdown>
                        <button class="am-btn am-btn-secondary am-topbar-btn am-btn-sm am-dropdown-toggle" data-am-dropdown-toggle id="login-sign-name-phone">
                            <span id="login-user-name-phone"></span>
                            <span class="am-icon-caret-down"></span>
                        </button>
                        <ul class="am-dropdown-content login-content login-content-b" id="login-content-ul-phone">
                            <li><a href="/user" class="login-content-a"><span class="am-icon-leaf">&nbsp;&nbsp;&nbsp;个人中心</span></a></li>
                            <li sec:authorize="hasAnyRole('ROLE_ADMIN')"><a href="/admin" class="login-content-a"><span class="am-icon-cog">&nbsp;&nbsp;&nbsp;管理中心</span></a></li>
                            <li><a class="login-content-a doc-prompt-toggle"><span class="am-icon-bug">&nbsp;&nbsp;&nbsp;反&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;馈</span></a></li>
                            <hr />
                            <li><a href="/logout" class="login-content-a"><span class="am-icon-sign-out">&nbsp;&nbsp;&nbsp;退出登录</span></a></li>
                        </ul>
                    </div>
                </div>

                <div class="phone-title-text">
                    Seaguller的小窝
                </div>

                <div>
                    <button id="phone-title-button" class="am-topbar-btn am-btn am-btn-sm am-btn-primary" data-am-offcanvas="{target: '#offcanvasId'}"><span class="am-icon-bars"></span></button>
                </div>

            </div>
        </header>
    </div>

    <!-- 手机端标题侧边栏 -->
    <div id="offcanvasId" class="am-offcanvas">
        <div class="am-offcanvas-bar">
            <div class="am-offcanvas-content">
                <ul class="am-menu-nav am-avg-sm-1">
                    <li class="phone-offcanvas-title-t">帅气的标题栏</li>
                    <li class="phone-offcanvas-title">
                        <a href="/" class="header-a-main">
                            <span class="am-icon-home">&nbsp;首&nbsp;&nbsp;页</span>
                        </a>
                    </li>
                    <li class="phone-offcanvas-title"><a href="/archive" class="header-a-main" ><span class="am-icon-archive">&nbsp;归&nbsp;&nbsp;档</span></a></li>
                    <li class="phone-offcanvas-title"><a href="/update" class="header-a-main" ><span class="am-icon-calendar-plus-o">&nbsp;更&nbsp;&nbsp;新</span></a></li>
                    <li class="phone-offcanvas-title"><a href="/music" class="header-a-main" ><span class="am-icon-music">&nbsp;音乐馆</span></a></li>
                    <li class="phone-offcanvas-title"><a href="/messageBoard" class="header-a-main" ><span class="am-icon-pencil">&nbsp;留言板</span></a></li>
                    <li class="phone-offcanvas-title"><a href="/friends" class="header-a-main" ><span class="am-icon-mars">&nbsp;友&nbsp;&nbsp;链</span></a></li>
                    <li class="phone-offcanvas-title"><a href="/aboutMe" class="header-a-main" ><span class="am-icon-paper-plane-o">&nbsp;关于俺</span></a></li>

                </ul>

            </div>
        </div>
    </div>

    <!-- 反馈窗口 -->
    <div class="am-modal am-modal-prompt " tabindex="-1" id="my-prompt">
        <div class="am-modal-dialog">
            <div class="am-modal-hd">反馈</div>
            <div class="am-modal-bd">
                你有什么要悄悄告诉我滴吗！(`・ω・´)
                <textarea maxlength="1000" id="feedback-text" style="resize:none;" class="am-modal-prompt-input private-conversation" placeholder="请填写您对本站的建议或者私下要对小弟说滴话~"></textarea>
                <br/>
                <textarea maxlength="50" style="resize:none;" id="feedback-contact" class="am-modal-prompt-input private-conversation-two" placeholder="方便留下您的联系方式咩？（选填）"></textarea>
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn" id="feedback-submit" data-am-modal-confirm>提交</span>
                <span class="am-modal-btn" data-am-modal-cancel>取消</span>
            </div>


        </div>
    </div>
    <!-- 文字喵 -->
    <h1 id="headline" class="head-picture-font" >喵&nbsp;呜~&nbsp;喵&nbsp;帕&nbsp;斯~！</h1>
    <!-- 旋转小陀螺头像 -->
    <div class="head-sculpture"><img src="http://seaguller.oss-cn-beijing.aliyuncs.com/static/maoer.gif" class="header-img-one"/></div>
    <!-- 指定页面跳转位置 -->
    <div id="turn-head"></div>
    <!-- 小名片（随页面滚动的哦） -->
    <div class="main-right" id="main-right-div">

        <!-- 名片目录，点进文章的时候再加进去 -->
        <div id="right-catalog-div">
            <ul class="right-catalog">
                <li class="right-catalog-article right-catalog-style">文章目录</li>
                <li class="right-catalog-user">作者信息</li>
            </ul>
        </div>

        <div id="main-right-text">
            <div id="main-right-article-catalog">
                <ol id="catalog-h1"></ol>
            </div>
        </div>

    </div>
    <!-- 标签云（未完成） -->
    <div class="main-right-down"></div>
    <!-- 主体内容 -->
    <div id="art-list">
        <div class="main-middle" id="main-middle-article" style="top:690px;&quot;">
            <div class="main-middle-article">
                <div class="article-badge">
                    <a href="#" class="badge-a">臭不要脸</a>
                </div>
                <h1 class="article-title">
                    <a class="article-title-link" href="#">123123</a>
                </h1>
                <div class="article-meta">
                    <span class="am-icon-calendar"></span>
                    <span class="meta-text meta-calendar-text">2018年12月9日</span>
                    <span class="am-icon-tags"></span>
                        <span class="meta-text meta-tags-text">
                            <span><a class="am-icon-tags-aa" href="#">后端</a>,</span>
                            <span><a class="am-icon-tags-aa" href="#">spring boot</a>,</span>
                            <span><a class="am-icon-tags-aa" href="#">spring</a></span>
                        </span>
                    <span class="am-icon-eye"></span>
                    <span class="meta-text meta-eye-text">0</span>
                </div>
                <div class="article-content">
                    <div id="wordsView">
                        <textarea style="display:none;" name="editormd-markdown-doc" id="article-content-text"></textarea>
                    </div>
                </div>

                <div id="article-share">
                    <div class="social-share">
                        分享到：
                        <a href="#" class="social-share-icon icon-weibo"></a>
                        <a href="#" class="social-share-icon icon-qq"></a>
                        <a href="#" class="social-share-icon icon-wechat"></a>
                        <a href="#" class="social-share-icon icon-qzone"></a>
                    </div>
                    <div class="article-button">
                        <a class="article-btn" id="article-like">❤ 喜欢 ❤</a>
                    </div>
                    <hr/>
                    <div class="article-page">
                        <a id="article-page-prev" href="/nas/" rel="prev" title="耶">
                            <i class="fa fa-chevron-left"></i> 耶
                        </a>
                        <a id="article-page-next" href="/nas/" rel="next" title="耶">
                            耶 <i class="fa fa-chevron-right"></i>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="article-comment">
        <div th:unless="${#httpServletRequest.remoteUser}" id="comment-init-text">哼，不<a href="/login">登录</a>就想对我指指点点，白嫖吗！</div>
        <textarea th:if="${#httpServletRequest.remoteUser}"  maxlength="500" id="comment-text" class="am-modal-prompt-input private-conversation" placeholder="畅所欲言叭，骚年d(`･∀･)b！"></textarea>
        <div><a class="comment-btn" id="comment-btn">发表评论</a></div>

        <div class="article-comment-title">
            <span class="article-comment-word">评论</span>
            <div class="article-comment-line"></div>
        </div>

        <div class="article-comment-list">
            <div class="article-comment-nonpeople">目前还没有人发表看法呢(｡ŏ_ŏ)~</div>
            <ol class="article-comment-list-ol" id="article-comment-list-ol-one">
                <li id="article-comment-list-li">
                    <div>
                        <div class="article-comment-list-left">
                            <img class="article-comment-headimg" src="http://seaguller.oss-cn-beijing.aliyuncs.com/headImg/cc5d76e15a0144f4ba911ca27889e88c.jpeg" />
                        </div>
                        <div class="article-comment-list-right">
                            <span class="comment-right-name">Seaguller大魔王</span>
                            <span class="comment-right-self">#1楼</span>
                            <span class="comment-right-time">2018-10-20 09:12</span>
                            <div class="comment-right-text">
                                嘤嘤嘤，大坏蛋！嘤嘤嘤，大坏蛋！嘤嘤嘤，大坏蛋！嘤嘤嘤，大坏蛋！
                            </div>
                            <div>
                                <span><a class="comment-right-btn" id="comment-right-btn-1">回复</a></span>
                                <span class="comment-reply-like-heart"></span>
                                <span class="comment-reply-like-text" id="comment-reply-like-text-1">15</span>
                            </div>

                            <div class="comment-reply-squ" id="comment-reply-squ-1">
                                <div class="comment-reply"></div>
                                <div class="comment-reply-btn-div">
                                    <a class="comment-reply-btn-left" id="comment-reply-btn-left-1">取消回复</a>
                                    <a class="comment-reply-btn-right">发表评论</a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="article-comment-list-reply">
                        <ol class="article-comment-list-ol">
                            <li>
                                <div>
                                    <div class="article-comment-list-left">
                                        <img class="article-comment-headimg" src="http://seaguller.oss-cn-beijing.aliyuncs.com/headImg/cc5d76e15a0144f4ba911ca27889e88c.jpeg" />
                                    </div>
                                    <div class="article-comment-list-right">
                                        <span class="comment-right-name">Seaguller大魔王</span>
                                        <span class="comment-right-time">2018-10-20 09:12</span>
                                        <div class="comment-right-text">
                                            <span class="comment-right-text-replyname">@Seaguller大魔王</span>
                                            <span>嘤嘤嘤，大坏蛋！嘤嘤嘤，大坏蛋！嘤嘤嘤，大坏蛋！嘤嘤嘤，大坏蛋！嘤嘤嘤，大坏蛋！</span>
                                        </div>
                                        <div>
                                            <span><a class="comment-right-btn" id="comment-right-btn-11">回复</a></span>
                                            <span class="comment-reply-like-heart" style="margin-right: 410px !important;"></span>
                                            <span class="comment-reply-like-text" id="comment-reply-like-text-11">15</span>
                                        </div>
                                        <div class="comment-reply-squ" id="comment-reply-squ-11">
                                            <textarea class="am-modal-prompt-input private-conversation comment-reply" id="comment-reply-text" placeholder="畅所欲言叭，骚年d(`･∀･)b！"></textarea>
                                            <div class="comment-reply-btn-div">
                                                <span><a class="comment-reply-btn-left"  id="comment-reply-btn-left-11">取消回复</a></span>
                                                <span><a class="comment-reply-btn-right">发表评论</a></span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div></div>
                            </li>
                        </ol>
                    </div>
                </li>
            </ol>
        </div>
    </div>

    <div class="main-left-double am-show-lg-only">
        <i class="fa fa-quote-left" style="float: left"></i><br/>
        <div class="main-left-text">
            <p>你一直说自己没努力</p>
            <p>那你努力100%试一下啊</p>
            <p>你的天空你不想飞一下吗？</p>
        </div>
        <i class="fa fa-quote-right" style="float: right; margin-right: 10px; margin-top: 10px"></i>
    </div>
    <div class="main-left  am-show-lg-only">
        <i class="fa fa-quote-left" style="float: left"></i><br/>
        <div class="main-left-text">
            <p id="left-pp">你应该要学着做你自己</p>
            <p>面对真实的自我</p>
            <p>只要做到这一点</p>
            <p>你就什么都不用惧怕</p>
            <p id="left-pp-last">--- 《猫的报恩》</p>
        </div>
        <i class="fa fa-quote-right" style="float: right"></i>
        <div class="main-left-last-text">
            <div id="main-left-last-text-one">无论夜晚多么黑暗，</div>
            <div id="main-left-last-text-two">黎明总会如约而至。</div>
        </div>
    </div>
    <div id="landlord" style="left:5px;bottom:0px;">
        <div class="message" style="opacity:0"></div>
        <canvas id="live2d" width="500" height="560" class="live2d"></canvas>
        <div class="live_talk_input_body">
            <div class="live_talk_input_name_body">
                <input name="name" type="text" class="live_talk_name white_input" id="AIuserName" autocomplete="off" placeholder="你的名字" />
            </div>
            <div class="live_talk_input_text_body">
                <input name="talk" type="text" class="live_talk_talk white_input" id="AIuserText" autocomplete="off" placeholder="要和我聊什么呀？"/>
                <button type="button" class="live_talk_send_btn" id="talk_send">发送</button>
            </div>
        </div>
        <input name="live_talk" id="live_talk" value="1" type="hidden" />
        <div class="live_ico_box">
            <div class="live_ico_item type_info" id="showInfoBtn"></div>
            <div class="live_ico_item type_talk" id="showTalkBtn"></div>
            <div class="live_ico_item type_music" id="musicButton"></div>
            <div class="live_ico_item type_youdu" id="youduButton"></div>
            <div class="live_ico_item type_quit" id="hideButton"></div>
            <input name="live_statu_val" id="live_statu_val" value="0" type="hidden" />
            <audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio>
            <input name="live2dBGM" value="https://t1.aixinxi.net/o_1c52p4qbp15idv6bl55h381moha.mp3" type="hidden">
            <input name="live2dBGM" value="https://t1.aixinxi.net/o_1c52p8frrlmf1aled1e14m56una.mp3" type="hidden">
            <input id="duType" value="douqilai" type="hidden">
        </div>
    </div>
    <div id="open_live2d">召唤伊斯特瓦尔</div>
</div>
<footer id="footer" class="footer">
    <hr/>
    <div>
        <p>嘀嗒~ 嘀嗒~ 小博客自破壳起已经运行&nbsp;&nbsp;<span id="clock"></span>&nbsp;&nbsp;啦！</p>
        <p>© 2019-2020 Seaguller - <i class="fa fa-heart throb" style="color:#d43f57"></i> 高博宇 版权所有</p>
        <p>冀ICP备19012050号</p>
    </div>
</footer>



<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/amazeui/2.7.2/js/amazeui.min.js"></script>
<!-- markdown -->
<script src="https://lib.baomitu.com/underscore.js/1.9.1/underscore-min.js"></script>
<script src="https://lib.baomitu.com/modernizr/2010.07.06dev/modernizr.min.js"></script>
<script src="../static/markdown/editormd.min.js"></script>
<script src="../static/markdown/lib/marked.min.js"></script>
<script src="https://lib.baomitu.com/prettify/r298/prettify.min.js"></script>
<script src="https://lib.baomitu.com/raphael/2.2.7/raphael.min.js"></script>
<script src="https://lib.baomitu.com/js-sequence-diagrams/1.0.6/sequence-diagram-min.js"></script>
<script src="https://lib.baomitu.com/flowchart/1.11.3/flowchart.min.js"></script>


<!-- 标题栏浮动隐藏JS -->
<script type="text/javascript" src="https://npmcdn.com/headroom.js@0.9.3/dist/headroom.min.js"></script>
<!-- 字体阴影特效 -->
<script type="text/javascript" src="../static/js/shine.min.js"></script>
<!-- 主页JS -->
<script src="../static/js/main.js" type="text/javascript"></script>
<script src="https://cdn.bootcss.com/pagedown/1.0/Markdown.Converter.min.js"></script>
<script src="https://cdn.bootcss.com/social-share.js/1.0.16/js/jquery.share.min.js"></script>
<script src="../static/js/articleShow.js" type="text/javascript"></script>
<!-- 背景线条 -->
<script type="text/javascript" src="https://cdn.bootcss.com/canvas-nest.js/1.0.1/canvas-nest.min.js"></script>　

<!-- live2D -->
    <script>
        var message_Path = 'https://seaguller.oss-cn-beijing.aliyuncs.com/static/live2D/';
        var talkAPI = "/live2d";
    </script>
    <script type="text/javascript" src="https://seaguller.oss-cn-beijing.aliyuncs.com/static/live2D/js/live2d.js"></script>
    <script type="text/javascript" src="../static/live2d/js/message.js"></script>
<!-- 定时 -->
<script type="text/javascript">
    /* 尾部定时 */
    var int = self.setInterval("clock()", 1000);
    function clock()
    {
        var nowDay = new Date();
        var localDay = new Date("2019-04-20 00:00:00");
        var time = parseInt((nowDay.getTime()-localDay.getTime())/1000);
        /*
                var runTimeDate = new Date(parseInt(time));
                var runTime = runTimeDate.getDay() + "天" + runTimeDate.getHours() + "小时" + runTimeDate.getMinutes() + "分" + runTimeDate.getSeconds() + "秒";
        */
        var min = parseInt(time/60);
        var hour = parseInt(time/60/60);
        var day = parseInt(time/60/60/24);

        var runTime = "0";
        if(min == 0) {
            runTime = time + "秒";
        } else if(hour == 0) {
            runTime = min + "分" + (time-min*60) + "秒";
        } else if(day == 0) {
            var mh = min-hour*60;
            runTime = hour + "时" + mh + "分" + (time-hour*3600-mh*60) + "秒"
        } else {
            var hd = hour - day*24;
            var mh = min - day*24*60 - hd*60;
            runTime = day + "天" + hd + "时" + mh + "分" + (time-day*24*3600-hd*3600-mh*60) + "秒";
        }

        $("#clock").html(runTime);
    }
</script>

<!-- 反馈弹窗 -->
<script type="text/javascript">
    $(function() {
        $('.doc-prompt-toggle').on('click', function() {
            $("#feedback-text").val("");
            $('#my-prompt').modal({
                relatedTarget: this
            });
        });
    });
</script>
<!-- 点赞+1 -->
<script type="text/javascript">
    (function ($) {
        $.extend({
            tipsBox: function (options) {
                options = $.extend({
                    obj: null,  //jq对象，要在那个html标签上显示
                    str: "+1",  //字符串，要显示的内容;也可以传一段html，如: "<b style='font-family:Microsoft YaHei;'>+1</b>"
                    startSize: "12px",  //动画开始的文字大小
                    endSize: "30px",    //动画结束的文字大小
                    interval: 600,  //动画时间间隔
                    color: "red",    //文字颜色
                    callback: function () { }    //回调函数
                }, options);
                $("body").append("<span class='num'>" + options.str + "</span>");
                var box = $(".num");
                var left = (options.obj.offset().left + options.obj.width() / 2) + 80;
                var top = (options.obj.offset().top - options.obj.height()) + 30;
                box.css({
                    "position": "absolute",
                    "left": left + "px",
                    "top": top + "px",
                    "z-index": 9999,
                    "font-size": options.startSize,
                    "line-height": options.endSize,
                    "color": options.color
                });
                box.animate({
                    "font-size": options.endSize,
                    "opacity": "0",
                    "top": top - parseInt(options.endSize) + "px"
                }, options.interval, function () {
                    box.remove();
                    options.callback();
                });
            }
        });
    })(jQuery);

    function niceIn(prop){
        prop.find('i').addClass('niceIn');
        setTimeout(function(){
            prop.find('i').removeClass('niceIn');
        },1000);
    }
    $(function () {
        $("#article-like").click(function () {
            $.tipsBox({
                obj: $(this),
                str: "+1",
                callback: function () {
                }
            });
            niceIn($(this));
        });
    });
</script>
</body>
</html>